#include "SPECSELData.h"

#include "DataStructure/Common/Validation.h"

using namespace SG::DataStructure::FEM;

bool SG::DataStructure::FEM::operator==(const SPECSELData::TABLESData& val1,
                                        const SPECSELData::TABLESData& val2) {
  FIELD_COMPARE(m_TID)
  FIELD_COMPARE(m_DAMP)
  return true;
}

bool SG::DataStructure::FEM::operator==(const SPECSELData& val1,
                                        const SPECSELData& val2) {
  FIELD_COMPARE(m_id)
  FIELD_COMPARE(m_TABLESList)
  FIELD_COMPARE_ARR(m_TYPE, 8)
  FIELD_COMPARE(m_domainId)
  return true;
}